[PATCH] [sanitizer] Remove usage of termios ioctl constants for glibc
authortrcrsired <uwgghhbcad@gmail.com>
Thu, 17 Jul 2025 04:18:30 +0000 (12:18 +0800)
committerMatthias Klose <doko@debian.org>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
commit9a4c8a1481412f2bf40da3a1dd01089d3f62ffe7
tree273facb33598ac609f7109296df3b3e19455ef3c
parent2aabfb30a22373243e2dd570d0ca32088977832c
[PATCH] [sanitizer] Remove usage of termios ioctl constants for glibc

glibc 2.42 made all usage of termios ioctl constants strictly internal.

Therefore, we remove all usage for those removed constants for glibc.

We keep a pesudo definition for PowerPC to make bots happy.

[sanitizer] avoid using ioctl constants for glibc above 2.41

[compiler-rt] code formatting to make CI happy

[compiler-rt] fix a missing #endif

Gbp-Pq: Name sanitizer-149140.patch
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform.h
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h